import React, { Component } from 'react';
import ReactDOM from 'react-dom';
import {DrawerNavigator,TabNavigator,StackNavigator} from 'react-navigation';
//把刚才定义的底部引用进来 from后面写路径
import ComponentFooter from '../Navi/footer.js';
//把刚才定义的主体引用进来 from后面写路径
import BodyIndex from '../zyyw/BodyIndex.js';
//把刚才定义的头部引用进来 from后面写路径
import ComponentHeader from '../Navi/header';

export default  class Text1 extends  Component {
    // 配置页面导航选项
    static navigationOptions = ({navigation}) => ({
        title: 'HOME',
        titleStyle: {color: '#ff00ff'},
        headerStyle:{backgroundColor:'#000000'}
    });

    render() {
        return (
            <div>
                <ComponentHeader/>
                <BodyIndex/>
                <ComponentFooter/>
            </div>
        )
    };
}
